import React from 'react'
import {withRouter} from 'react-router-dom'
import {connect} from 'react-redux'
import Screen from "../../../../components/Base/Screen";
import ContentWrap from "../../../../components/Base/ContentWrap";
import Team from "../../../../components/Team/index";
import HomeUser from "../../../../components/HomeUser/index";
import Immutable from 'immutable';
import Api from "../../../../configs/Api";
import CommonUtil from "../../../../utils/CommonUtil";


class DashBoard extends Screen {
    constructor(props) {
        super(props);

        this.state = {
            stat: Immutable.fromJS({}),

            brief: Immutable.fromJS([])
        }
    }

    render() {
        return (
            <ContentWrap>
                <HomeUser stat={this.state.stat}/>
                <Team/>
            </ContentWrap>
        )
    }
}

export default withRouter(connect()(DashBoard))

